package com.atguigu.springcloud.facade;

import com.atgui.springcloud.base.CommonResult;
import com.atgui.springcloud.request.UserParam;
import com.atgui.springcloud.response.UserResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "CLOUD-PAYMENT-SERVICE")
public interface TestUserServiceFaced {

    @PostMapping("/api/testUserService/getOneUserData")
    CommonResult getOneUserData(UserParam param);

}
